package com.micro.frog.core.common;


import java.io.Serializable;
import java.util.List;

/**
 *  分页出参类
 * @author :  ljh
 * @date : 2018/4/4
 **/
public class PageResult<T> implements Serializable {

    private String code;

    private String msg;
    /**
     * 总共条数
     */
    private long total;
    /**
     * 数据
     */
    private List<T> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
